// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import Layout from './components/layout'
import router from './router'
import VModal from 'vue-js-modal'

Vue.use(VModal)

Vue.config.productionTip = false

// 引入mockjs
require('./mock/mock.js')
/* eslint-disable no-new */
new Vue({
  el: '#app',
  data: {
    value: 1,
    height:20,
    show: true
  },
  router,
  components: { Layout },
  template: '<Layout/>'
})
